CC	=	g++
NAME	=	ZiaServer
SRC	=	main.cpp	\
		ZiaServerUnix.cpp
OBJS	=	$(SRC:.cpp=.o)
CFLAGS	=	-W -Wall -Werror

all : NAME

NAME : $(OBJS)
	$(CC) -o $(NAME) $(SRC) $(CFLAGS)

clean : 
		rm -f $(NAME)
		rm -f *.o

fclean : clean
		rm -f *~
		rm -f *#

re : clean all

.PHONY : all NAME clean fclean re